package com.study.decorator.battercake;

public class BatterCakeDecorator extends BatterCake{

    private BatterCake cake;

    public BatterCakeDecorator(BatterCake cake){
        this.cake = cake;
    }

    @Override
    protected String getName() {
        return this.cake.getName();
    }

    @Override
    protected int getPrice() {
        return this.cake.getPrice();
    }
}
